package com.mybook.app.error;


public final class ErrorCode {
    public static final String SUUCCESS = "000000";// 表示成功
    public static final String UNKNOW_EXCEPTION = "999999"; // 未知异常
    public static final String NOT_EXIST_USER = "000001"; // 不存在的用户
    public static final String OUT_TIME_TOKEN = "000002";// token 失效
    public static final String NOT_LOGIN = "000003"; // 用户未登录
    public static final String NOT_EXIST_TOKEN = "000004";// token 不存在
    public static final String EXIST_LOGIN_WITH_OTHER = "000005"; // 用户未登录
    public static final String PWD_EXCEPTION = "000006";// 密码为默认密码
    public static final String EXCEED_COUNT_EXCPTION = "000007";// 用户当天错误次数超过20次
    public static final String DEFAULT_PWD_EXCEPTION = "000008";// 不允许修改为默认密码
    public static final String REST_PWD_EXCEPTION = "000009";// 重置密码失败
    public static final String VER_EXCEPTION = "000010";// 重置密码失败
    public static final String BAD_REQUEST_JSON = "000011";// json 格式错误
    public static final String BAD_REQUEST_PARAMETER = "000012";// 缺少必要的参数
    public static final String FEIGN_EXCEPTION = "000013";// FEIGN 异常
    public static final String USER_EXIST_FORBIDDEN = "000014";// 用户被禁用
    public static final String USER_SMS_IN_TIME = "000015";// 在规定时间内不能重复发送
    public static final String DATA_IS_EMPTY = "000016";// 返回数据为空
    public static final String FILE_UPLOAD_FAIL = "000017";// 文件上传失败
    public static final String NOT_EXIST_SMS_UUID = "000018";// 不存在的uuid
    public static final String OUT_SMS_CODE = "000019";// 超过验证次数
    public static final String OUT_SMS_CODE_TIME = "000020";// 超过验证时间
    public static final String VAILD_SMS_CODE = "000021";// 校验失败
    public static final String OUT_VAILD_SMS_CODE = "000022";//验证码已经被验证
    public static final String NOT_PASS_VAILD_SMS_CODE = "000023";// 没有通过短信校验
    public static final String ALREADY_REGISTER = "000024";// 用户已经注册
    public static final String WX_AUTHORIZATION = "000025";// 用户授权失败
    public static final String NOT_EXIST_USER_IN_HEAD = "000026";// 没有设置userId 在请求头
    public static final String EXIST_BORROW_REQUEST = "000027";// 存在借阅请求
    public static final String NOT_EXIST_BORROW_REQUEST = "000028";//不存在该借阅
    public static final String READ_REQUEST_STATUS_ERROR = "000030";// 借阅状态异常
    public static final String NOT_EXIST_BOOK = "000031";// 不存在的书籍id
    public static final String NOT_BORROW_BOOK = "000041";// 该书籍不可借阅
    public static final String SMS_EXCEPTION = "000042";// 短信异常

}
